package com.itboye.jigongbao.bean

import java.io.Serializable

/**
 * Created by Administrator on 2017/12/21.
 */
class LoginInfo : Serializable {
    /**
     * uid : 1078
     * geohash :
     * nickname : user1514357854
     * sex : 0
     * birthday : 1513785600
     * head : 70
     * score : 0
     * login : 0
     * sign :
     * bg_img : 0
     * phone_validate : 0
     * email_validate : 0
     * identity_validate : 0
     * idcode :
     * default_address : 0
     * invite_uid : 0
     * exp : 0
     * nation : 未填写
     * hometown : 未填写
     * profession : 未填写
     * working_years : 1
     * works_cate : 未填写
     * online_status : 1
     * create_time : 1514364098
     * update_time : 1514364098
     * project_id : jigongbao
     * username : m_86_15736243109
     * password : 097913ad30f025307bebaedf7d700de0
     * pay_secret :
     * mobile : 15736243109
     * country_no : +86
     * email :
     * reg_ip : 1880120700
     * last_login_time : 0
     * last_login_ip : 1880120700
     * reg_from : 0
     * login_device_cnt : 2
     * wxapp_openid :
     * qq_openid :
     * weibo_openid :
     * alibaichuan_id :
     * s_id : 815a2f30adc053d84e989e52d8437562SX
     * roles : []
     */


    private var uid: Int = 0
    private var geohash: String? = null
    private var nickname: String? = null
    private var sex: Int = 0
    private var birthday: Int? = 0
    private var head: String? = null
    private var score: Int = 0
    private var login: Int = 0
    private var sign: String? = null
    private var bg_img: Int = 0
    private var phone_validate: Int = 0
    private var email_validate: Int = 0
    private var identity_validate: Int = 0
    private var idcode: String? = null
    private var default_address: Int = 0
    private var invite_uid: Int = 0
    private var exp: Int = 0
    private var nation: String? = null
    private var hometown: String? = null
    private var profession: String? = null
    private var working_years: Int = 0
    private var works_cate: String? = null
    private var online_status: Int = 0
    private var create_time: Int = 0
    private var update_time: Int = 0
    private var project_id: String? = null
    private var username: String? = null
    private var password: String? = null
    private var pay_secret: String? = null
    private var mobile: String? = null
    private var country_no: String? = null
    private var email: String? = null
    private var reg_ip: Int = 0
    private var last_login_time: Int = 0
    private var last_login_ip: Int = 0
    private var reg_from: Int = 0
    private var login_device_cnt: Int = 0
    private var wxapp_openid: String? = null
    private var qq_openid: String? = null
    private var weibo_openid: String? = null
    private var alibaichuan_id: String? = null
    private var s_id: String? = null
    private var realname: String? = null
    private var roles: List<*>? = null

    constructor(nickname: String?, sex: Int, birthday: Int, sign: String?, default_address: Int, nation: String?, hometown: String?, profession: String?, working_years: Int, works_cate: String?, username: String?, mobile: String?, country_no: String?, realname: String?) {
        this.nickname = nickname
        this.sex = sex
        this.birthday = birthday
        this.sign = sign
        this.default_address = default_address
        this.nation = nation
        this.hometown = hometown
        this.profession = profession
        this.working_years = working_years
        this.works_cate = works_cate
        this.username = username
        this.mobile = mobile
        this.country_no = country_no
        this.realname = realname
    }

    fun setRealname(realname: String?) {
        this.realname = realname
    }

    fun setUid(uid: Int) {
        this.uid = uid
    }

    fun setGeohash(geohash: String) {
        this.geohash = geohash
    }

    fun setNickname(nickname: String?) {
        this.nickname = nickname
    }

    fun setSex(sex: Int) {
        this.sex = sex
    }

    fun setBirthday(birthday: Int?) {
        this.birthday = birthday
    }

    fun setHead(head: String) {
        this.head = head
    }

    fun setScore(score: Int) {
        this.score = score
    }

    fun setLogin(login: Int) {
        this.login = login
    }

    fun setSign(sign: String) {
        this.sign = sign
    }

    fun setBg_img(bg_img: Int) {
        this.bg_img = bg_img
    }

    fun setPhone_validate(phone_validate: Int) {
        this.phone_validate = phone_validate
    }

    fun setEmail_validate(email_validate: Int) {
        this.email_validate = email_validate
    }

    fun setIdentity_validate(identity_validate: Int) {
        this.identity_validate = identity_validate
    }

    fun setIdcode(idcode: String) {
        this.idcode = idcode
    }

    fun setDefault_address(default_address: Int) {
        this.default_address = default_address
    }

    fun setInvite_uid(invite_uid: Int) {
        this.invite_uid = invite_uid
    }

    fun setExp(exp: Int) {
        this.exp = exp
    }

    fun setNation(nation: String?) {
        this.nation = nation
    }

    fun setHometown(hometown: String?) {
        this.hometown = hometown
    }

    fun setProfession(profession: String?) {
        this.profession = profession
    }

    fun setWorking_years(working_years: Int) {
        this.working_years = working_years
    }

    fun setWorks_cate(works_cate: String?) {
        this.works_cate = works_cate
    }

    fun setOnline_status(online_status: Int) {
        this.online_status = online_status
    }

    fun setCreate_time(create_time: Int) {
        this.create_time = create_time
    }

    fun setUpdate_time(update_time: Int) {
        this.update_time = update_time
    }

    fun setProject_id(project_id: String) {
        this.project_id = project_id
    }

    fun setUsername(username: String?) {
        this.username = username
    }

    fun setPassword(password: String) {
        this.password = password
    }

    fun setPay_secret(pay_secret: String) {
        this.pay_secret = pay_secret
    }

    fun setMobile(mobile: String) {
        this.mobile = mobile
    }

    fun setCountry_no(country_no: String) {
        this.country_no = country_no
    }

    fun setEmail(email: String) {
        this.email = email
    }

    fun setReg_ip(reg_ip: Int) {
        this.reg_ip = reg_ip
    }

    fun setLast_login_time(last_login_time: Int) {
        this.last_login_time = last_login_time
    }

    fun setLast_login_ip(last_login_ip: Int) {
        this.last_login_ip = last_login_ip
    }

    fun setReg_from(reg_from: Int) {
        this.reg_from = reg_from
    }

    fun setLogin_device_cnt(login_device_cnt: Int) {
        this.login_device_cnt = login_device_cnt
    }

    fun setWxapp_openid(wxapp_openid: String) {
        this.wxapp_openid = wxapp_openid
    }

    fun setQq_openid(qq_openid: String) {
        this.qq_openid = qq_openid
    }

    fun setWeibo_openid(weibo_openid: String) {
        this.weibo_openid = weibo_openid
    }

    fun setAlibaichuan_id(alibaichuan_id: String) {
        this.alibaichuan_id = alibaichuan_id
    }

    fun setS_id(s_id: String) {
        this.s_id = s_id
    }

    fun setRoles(roles: List<*>) {
        this.roles = roles
    }

    fun getUid(): Int {
        return uid
    }

    fun getRealName(): String? {
        return realname
    }

    fun getGeohash(): String? {
        return geohash
    }

    fun getNickname(): String? {
        return nickname
    }

    fun getSex(): Int {
        return sex
    }

    fun getBirthday(): Int? {
        return birthday
    }

    fun getHead(): String? {
        return head
    }

    fun getScore(): Int {
        return score
    }

    fun getLogin(): Int {
        return login
    }

    fun getSign(): String? {
        return sign
    }

    fun getBg_img(): Int {
        return bg_img
    }

    fun getPhone_validate(): Int {
        return phone_validate
    }

    fun getEmail_validate(): Int {
        return email_validate
    }

    fun getIdentity_validate(): Int {
        return identity_validate
    }

    fun getIdcode(): String? {
        return idcode
    }

    fun getDefault_address(): Int {
        return default_address
    }

    fun getInvite_uid(): Int {
        return invite_uid
    }

    fun getExp(): Int {
        return exp
    }

    fun getNation(): String? {
        return nation
    }

    fun getHometown(): String? {
        return hometown
    }

    fun getProfession(): String? {
        return profession
    }

    fun getWorking_years(): Int {
        return working_years
    }

    fun getWorks_cate(): String? {
        return works_cate
    }

    fun getOnline_status(): Int {
        return online_status
    }

    fun getCreate_time(): Int {
        return create_time
    }

    fun getUpdate_time(): Int {
        return update_time
    }

    fun getProject_id(): String? {
        return project_id
    }

    fun getUsername(): String? {
        return username
    }

    fun getPassword(): String? {
        return password
    }

    fun getPay_secret(): String? {
        return pay_secret
    }

    fun getMobile(): String? {
        return mobile
    }

    fun getCountry_no(): String? {
        return country_no
    }

    fun getEmail(): String? {
        return email
    }

    fun getReg_ip(): Int {
        return reg_ip
    }

    fun getLast_login_time(): Int {
        return last_login_time
    }

    fun getLast_login_ip(): Int {
        return last_login_ip
    }

    fun getReg_from(): Int {
        return reg_from
    }

    fun getLogin_device_cnt(): Int {
        return login_device_cnt
    }

    fun getWxapp_openid(): String? {
        return wxapp_openid
    }

    fun getQq_openid(): String? {
        return qq_openid
    }

    fun getWeibo_openid(): String? {
        return weibo_openid
    }

    fun getAlibaichuan_id(): String? {
        return alibaichuan_id
    }

    fun getS_id(): String? {
        return s_id
    }

    fun getRoles(): List<*>? {
        return roles
    }

    override fun toString(): String {
        return "LoginInfo(uid=$uid, geohash=$geohash, nickname=$nickname, sex=$sex, birthday=$birthday, head=$head, score=$score, login=$login, sign=$sign, bg_img=$bg_img, phone_validate=$phone_validate, email_validate=$email_validate, identity_validate=$identity_validate, idcode=$idcode, default_address=$default_address, invite_uid=$invite_uid, exp=$exp, nation=$nation, hometown=$hometown, profession=$profession, working_years=$working_years, works_cate=$works_cate, online_status=$online_status, create_time=$create_time, update_time=$update_time, project_id=$project_id, username=$username, password=$password, pay_secret=$pay_secret, mobile=$mobile, country_no=$country_no, email=$email, reg_ip=$reg_ip, last_login_time=$last_login_time, last_login_ip=$last_login_ip, reg_from=$reg_from, login_device_cnt=$login_device_cnt, wxapp_openid=$wxapp_openid, qq_openid=$qq_openid, weibo_openid=$weibo_openid, alibaichuan_id=$alibaichuan_id, s_id=$s_id, roles=$roles)"
    }


}